Substitutes the matched result in a manner specified by the given ReplacementPattern. If no ReplacementPattern is specified, it uses the ReplacementPattern which was specified in the RegEx object at the time of the search.
Syntax |
|---|
|
result = RegExMatch.Replace( [ReplacementPattern] ) |
Parameters |
|
|---|---|
|
ReplacementPattern |
String (Optional) |
Return Value |
|
|---|---|
|
Result |
|
Notes
Returns a String.